package com.bw.app.service;

import com.alibaba.fastjson.JSONObject;
import com.bw.app.bean.TrafficChBean;
import com.bw.app.dao.TrafficDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TrafficServicelmpl implements TrafficService{
    @Autowired
    TrafficDao trafficDao;

    @Override
    public List<TrafficChBean> trafficCh(int date) {
        return trafficDao.trafficCh(date);
    }

    @Override
    public List<JSONObject> getUjCt(Integer date) {
        return null;
    }

    @Override
    public List<JSONObject> getUvCt(Integer date) {
        return null;
    }

}
